<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if(!function_exists('imd5'))
{
    function imd5($str = '')
    {
        $str = md5($str);
        $sub = substr($str, 0, 10);
        $sub .= substr($str, 15, 10);
        return $sub;
    }
}